@prefix-cls: contract-report;

.overflow() {
  overflow-y: hidden;
  overflow-x: hidden;
}

.displayDirection() {
  display: flex;
  flex-direction: column;
}

.@{prefix-cls} {
  // 合同搜索
  &-searchFormDiv {
    &-formBox {
      .ant-form-item {
        margin-bottom: 0px;
      }
    }

    &-radioSearchDom {
      height: 100%;
      width: 100%;
      display: flex !important;
      justify-content: center;
      align-items: center;
    }
  }

  // 合同汇总统计
  &-allCountDiv {
    height: 100%;
    width: 100%;
    .overflow();
    display: flex;
    flex-direction: column;

    &-bodyBox {
      flex: auto;
      margin-top: 4px;
      overflow: hidden;

      &-BadgeDiv {
        padding: 0px 15px;
        height: 50px;
        right: -5px;
        // line-height: 50px;

        .ant-ribbon-text {
          display: flex;
          align-items: center;
          height: 100%;
          color: #000;
          font-size: 14px;
        }
      }

      &-colDiv {
        height: 400px;
        background-color: #fff;

        .ant-empty {
          margin: 0px;
          height: 80%;
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
        }
      }

      &-echartsDiv {
        width: 100%;
        height: 100%;
        padding: 10px;
      }
    }
  }

  // 合同统计表格
  &-cardTable {
    .ant-table-wrapper
      .ant-spin-nested-loading
      .ant-spin-container
      .ant-table
      .ant-table-container
      .ant-table-body
      table
      .ant-table-tbody
      .ant-table-row
      > :nth-of-type(1) {
      border-left: 0px solid #f0f0f0;
    }

    .ant-table-wrapper
      .ant-spin-nested-loading
      .ant-spin-container
      .ant-table
      .ant-table-container
      .ant-table-header
      .ant-table-thead
      tr
      > :nth-of-type(1) {
      border-left: 0px solid #f0f0f0;
    }
  }

  // 搜索表单
  &-searchFormCard {
    .ant-card-head-title {
      display: flex;
      justify-content: flex-end;
    }

    &-titleBox {
      width: 30%;

      .ant-form-item {
        margin: 0px;

        .ant-input-affix-wrapper {
          border-radius: 50px;
        }

        .ant-select-show-search.ant-select:not(.ant-select-customize-input) .ant-select-selector {
          border-radius: 50px;
        }
      }
    }
  }
}
